Pod::Spec.new do |s|

s.name         = 'LYXBaseFramework'
s.version      = '1.6.7'
s.summary      = '基础公共库'
s.description  = '基础公共库'
s.homepage     = 'https://gitee.com/huangqiu009/LYXBaseFramework.git'
s.license      = 'MIT'
s.author       = { 'HuangQi' => '314019@163.com' }
s.source       = { :git => s.homepage.to_s, :tag => s.version.to_s }
s.ios.deployment_target = '12.0'
s.swift_version = '5.0'
s.dependency 'Alamofire'
s.dependency 'CleanJSON'
s.dependency 'SwiftyJSON'
s.dependency 'SVProgressHUD'
s.dependency 'SnapKit'
s.dependency 'KeychainAccess'
s.dependency 'AliyunOSSiOS'
s.dependency 'Kingfisher'
s.default_subspecs = 'DSL', 'Logger', 'Enum', 'Configure', 'Extension', 'Network', 'WeakObject', 'Keychain', 'Device', 'OSS', 'FileSecurity', 'Authorization', 'Photo', 'LoadResource', 'UploadResource', 'ServerTime'

s.subspec 'DSL' do |dsl|
dsl.source_files = 'Classes/DSL/*.{h,m,swift}'
end

s.subspec 'Logger' do |logger|
logger.source_files = 'Classes/Logger/*.{h,m,swift}'
end

s.subspec 'Enum' do |enum|
enum.source_files = 'Classes/Enum/*.{h,m,swift}'
end

s.subspec 'Configure' do |configure|
configure.source_files = 'Classes/Configure/*.{h,m,swift}'
end

s.subspec 'Extension' do |extension|
extension.source_files = 'Classes/Extension/*/*.{h,m,swift}', 'Classes/Extension/*/*/*.{h,m,swift}'
extension.dependency 'LYXBaseFramework/Configure'
extension.dependency 'LYXBaseFramework/DSL'
extension.dependency 'LYXBaseFramework/Enum'
end

s.subspec 'Network' do |network|
network.source_files = 'Classes/Network/*.{h,m,swift}'
network.dependency 'LYXBaseFramework/Configure'
network.dependency 'LYXBaseFramework/Extension'
network.dependency 'LYXBaseFramework/Device'
end

s.subspec 'WeakObject' do |weakObject|
weakObject.source_files = 'Classes/WeakObject/*.{h,m,swift}'
weakObject.dependency 'LYXBaseFramework/Extension'
end

s.subspec 'Keychain' do |keychain|
keychain.source_files = 'Classes/Keychain/*.{h,m,swift}'
end

s.subspec 'Device' do |device|
device.source_files = 'Classes/Device/*.{h,m,swift}'
device.dependency 'LYXBaseFramework/Keychain'
end

s.subspec 'OSS' do |oss|
oss.source_files = 'Classes/OSS/*.{h,m,swift}'
oss.dependency 'LYXBaseFramework/FileSecurity'
oss.dependency 'LYXBaseFramework/Network'
oss.dependency 'LYXBaseFramework/Configure'
oss.dependency 'LYXBaseFramework/Device'
end

s.subspec 'FileSecurity' do |fileSecurity|
fileSecurity.source_files = 'Classes/FileSecurity/*.{h,m,swift}'
fileSecurity.dependency 'LYXBaseFramework/Extension'
end

s.subspec 'Authorization' do |authorization|
authorization.source_files = 'Classes/Authorization/*.{h,swift}'
authorization.dependency 'LYXBaseFramework/Extension'
end

s.subspec 'Photo' do |photo|
photo.source_files = 'Classes/Photo/*.{h,swift}'
photo.dependency 'LYXBaseFramework/Authorization'
end

s.subspec 'LoadResource' do |loadResource|
loadResource.source_files = 'Classes/LoadResource/*.{h,swift}'
loadResource.dependency 'LYXBaseFramework/OSS'
loadResource.dependency 'LYXBaseFramework/FileSecurity'
end

s.subspec 'UploadResource' do |uploadResource|
uploadResource.source_files = 'Classes/UploadResource/*.{h,swift}'
uploadResource.dependency 'LYXBaseFramework/Extension'
uploadResource.dependency 'LYXBaseFramework/OSS'
end

s.subspec 'ServerTime' do |serverTime|
serverTime.source_files = 'Classes/ServerTime/*.{h,swift}'
serverTime.dependency 'LYXBaseFramework/Extension'
serverTime.dependency 'LYXBaseFramework/Network'
end

end
